<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <script>

        let {abs,max,min}=Math;

        console.log(min(1,2,-94))

        let { foo, bar } = { foo: "aaa", bar: "bbb" };

        console.log(foo);
        console.log(bar);



        let  func=a=>a;

        console.log(func(11));


        let fooo=()=>({a:2,b:2});


        console.log(fooo())




        var  arr=[1,2,3,4];

        let [a,...b]=arr;

        console.log(a,b)

        let o={

            a:1,b:2
        }

        let obj={

            ...o,

            c:10,
            d:40
        }

        console.log(obj)



    </script>
</head>
<body>

</body>
</html>